﻿@model List<smp.ButterflyCakes.Models.ViewModels.Schedule.ScheduleCalendarItem>
@foreach (var day in Model)
{
    <td class="pagelink" style="vertical-align: top" url="/schedule/day/@day.ToolTipTitle">
        <div style="height: 90px" class="" href="#" rel="popover" data-content="@day.ToolTipText" data-original-title="@day.ToolTipTitle">
            <p class="calendarday text-left @day.OutOfMonthClassName">
                <strong>@day.Day</strong></p>
            @if (day.Enquiries > 0)
            {
                <div class="calendaritemrow">
                    <p class="label-warning text-right">@day.EnquiriesText <i class="icon-question-sign" />
                    </p>
                </div>
            }
            @if (day.Confirmed > 0)
            {
                <div class="calendaritemrow">
                    <p class="label-success text-right">@day.Confirmed Confirmed <i class="icon-thumbs-up" />
                    </p>
                </div>
            }
            @if (day.Cancelled > 0)
            {
                <div class="calendaritemrow">
                    <p class="label-important text-right">@day.Cancelled Cancelled <i class="icon-thumbs-up" />
                    </p>
                </div>
            }
        </div>
    </td>
}